package com.originalpoint.origin_server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.originalpoint.origin_server.pojo.Dto.NewsUMDto;
import com.originalpoint.origin_server.pojo.News;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NewsMapper extends BaseMapper<News> {

    List<NewsUMDto> selectAllNews();

    void insertNews(News news);
}
